﻿using System;
using System.Collections.Generic;
using System.Text;
using YmSoft.Kblog.DAL;
using System.Data;
using System.Data.SqlClient;
using YmSoft.Kblog.Model;
using YmSoft.Kblog.IBLL;

namespace YmSoft.Kblog.BLL
{
    public class LimitIPManager : ILimitIPManager
    {
        LimitIPService dal = new LimitIPService();
        public LimitIPManager()
        {

        }
        /// <summary>
        /// 获取所有禁用IP泛型集合
        /// </summary>
        /// <returns></returns>
        public List<K_LimitIP> GetAllLimitIP()
        {
            return dal.GetAllLimitIP();
        }
        /// <summary>
        /// 获取记录数
        /// </summary>
        /// <returns></returns>
        public int LimitLoginCount()
        {
            return dal.LimitLoginCount();
        }

        #region ILimitIPManager 成员


        public SqlDataAdapter LimitLoginList()
        {
            return dal.LimitLoginList();
        }

        #endregion
    }
}
